package com.asdf.application;


/**
 * @author Artem Barger
 * 
 * Interface which defines constants for usage in the system classes.
 *
 */
public interface Constants
{

	public static final String ILLEGAL_PARAMETERS_MSG        = "Illegal parameters ";
	public static final String LOGOUT_MSG                    = "Good bye.";
	public static final String UNKNOW_COMMAND_MSG            = "Unknown command ";
	public static final String ILLEGAL_PARAMETERS_NUMBER_MSG = "Wrong parameters number ";
	public static final String ILLEGAL_XML_FILE	             =  "Illegal xml file format ";
	public static final String INITIATION_FAILED	         = "Failed to initialize system from given xml files ";
	
	public static final String	AIRPORTLIST_TAG_NAME		 = "airportList";
	public static final String	AIRPORT_TAG_NAME	    	 = "airport";
	public static final String	AIRPORT_ID_TAG_NAME	     	 = "id";
	public static final String	AIRPORT_COUNTRY_TAG_NAME 	 = "country";
	public static final String	AIRPORT_LICENSE_TAG_NAME 	 = "license";
	public static final String	AIRPORT_NAME_TAG_NAME	 	 = "name";
	public static final String	AIRPORT_RATE_TAG_NAME     	 = "rate";
	
	public static final int 	INIT_PARAMETERS_NUMBER  	 = 3;
	public static final String [ ]	XSD_FILES_NAMES			 = { System.getProperty( "user.dir") + "/src/resources/airport.xsd", 
																 System.getProperty( "user.dir") + "/src/resources/club.xsd"};
	
	public static final String	COMPANYLIST_TAG_NAME		= "companyList";
	public static final String	COMPANY_TAG_NAME			= "company";
	public static final String	COMPANY_ID_TAG_NAME   		= "id";
	public static final String	COMPANY_NAME_TAG_NAME	    = "name";
	public static final String	COMPANY_DISCOUNT_TAG_NAME	= "discount";
	
	public static final String	UNABLE_CONNECT_MSG			= "Unable to connect, login not found.";
	public static final Object	INPUT_FIELDS_ERROR			= "Error in input fields, please try again!";
	public static final String	ERROR_CAPTION_DLG			= "Error";
	public static final Object	SECCESSEFUL_CONNECTION_MSG	= "You have been sucessefully connected";
	public static final Object	CONNECTION_ERROR_MSG		= "Couldn't proceed connection.";
	public static final String	UNABLE_TO_SWITCH_MSG		= "Cannot switch, illegal parameters sent.";
	
}
